package com.libraryManage.service;

import com.libraryManage.commons.utils.ResponseEntity;
import com.libraryManage.commons.utils.SimpleResp;
import com.libraryManage.entity.BorrowDo;
import com.libraryManage.vo.BorrowVo;

import java.util.List;

/**
 * @author:ZhangQing
 * @Date:2020/11/4
 */
public interface BorrowService {
    ResponseEntity<List<BorrowDo>> getAllBorrow();

    BorrowDo getBorrowById(Integer s);

    SimpleResp insertBorrow(BorrowVo borrowVo);
}
